package com.cxx.autoconfigure.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 用于将配置文件（如 application.properties 或 application.yml）中的属性值绑定到 Java 对象
 */
@ConfigurationProperties(prefix = "web-starter")
public class CustomProperties {
    // yml中web-starter下的base-package字段值
    private String basePackage = "";

    public String getBasePackage() {
        return basePackage;
    }

    public void setBasePackage(String basePackage) {
        this.basePackage = basePackage;
    }
}
